/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package twbb.state;

import twbb.adaptive.KnowledgeFilter;
import twbb.adaptive.KnowledgeAdaptive;
import twbb.decision.KnowledgeStrategies;
import twbb.decision.KnowledgeDecision;

/**
 *
 * @author sun
 */
public class Knowledge {

    //Filter Module
    //get Trader Distribution filter rule
    public String getFilterTraderDistribution()
    {
        return filterTraderDistribution;
    }

    public void setFilterTraderDistribution(String filterTraderDistribution)
    {
        this.filterTraderDistribution = filterTraderDistribution;
    }
    
    //get Specialist Marketshare filter rule
    public String getFilterSpecialistMarketshare()
    {
        return filterSpecialistMarketshare;
    }

    public void setFilterSpecialistMarketshare(String filterSpecialistMarketshare)
    {
        this.filterSpecialistMarketshare = filterSpecialistMarketshare;
    }

    //get Specialist Profit filter rule
    public String getFilterSpecialistProfit()
    {
        return filterSpecialistProfit;
    }

    public void setFilterSpecialistProfit(String filterSpecialistProfit)
    {
        this.filterSpecialistProfit = filterSpecialistProfit;
    }

    //get Specialist Transaction Successed Rate(TSR) filter rule
    public String getFilterSpecialistTSR()
    {
        return filterSpecialistTSR;
    }

    public void setFilterSpecialistTSR(String filterSpecialistTSR)
    {
        this.filterSpecialistTSR = filterSpecialistTSR;
    }

    //adaptive module
    //get adaptive round in period rule at now
    public String getAdaptiveNowRoundAtPeriod()
    {
        return adaptiveNowRoundAtPeriod;
    }

    public void setAdaptiveNowRoundAtPeriod(String adaptiveNowRoundAtPeriod)
    {
        this.adaptiveNowRoundAtPeriod = adaptiveNowRoundAtPeriod;
    }

    //get adaptive Day in period rule at now
    public String getAdaptiveNowDayAtPeriod()
    {
        return adaptiveNowDayAtPeriod;
    }

    public void setAdaptiveNowDayAtPeriod(String adaptiveNowDayAtPeriod)
    {
        this.adaptiveNowDayAtPeriod = adaptiveNowDayAtPeriod;
    }

    //get adaptive state algorithms parameter
    public String getAdaptiveStateAlgorithms()
    {
        return adaptiveStateAlgorithms;
    }

    public void setAdaptiveStateAlgorithms(String adaptiveStateAlgorithms)
    {
        this.adaptiveStateAlgorithms = adaptiveStateAlgorithms;
    }

    //get adaptive strategies algorithms parameter
    public String getAdaptiveStrategiesAlgorithms()
    {
        return adaptiveStrategiesAlgorithms;
    }

    public void setAdaptiveStrategiesAlgorithms(String adaptiveStrategiesAlgorithms)
    {
        this.adaptiveStrategiesAlgorithms = adaptiveStrategiesAlgorithms;
    }

    //get adaptive decision algorithms parameter
    public String getAdaptiveDecisionAlgorithms()
    {
        return adaptiveDecisionAlgorithms;
    }

    public void setAdaptiveDecisionAlgorithms(String adaptiveDecisionAlgorithms)
    {
        this.adaptiveDecisionAlgorithms = adaptiveDecisionAlgorithms;
    }

    //state
    //get state in beginning Phase
    public String getStateBeginningPhase()
    {
        return stateBeginningPhase;
    }

    public void setStateBeginningPhase(String stateBeginningPhase)
    {
        this.stateBeginningPhase = stateBeginningPhase;
    }

    //get state in middle Phase
    public String getStateMiddlePhase()
    {
        return stateMiddlePhase;
    }

    public void setStateMiddlePhase(String stateMiddlePhase)
    {
        this.stateMiddlePhase = stateMiddlePhase;
    }

    //get state in final Phase
    public String getStateFinalPhase()
    {
        return stateFinalPhase;
    }

    public void setStateFinalPhase(String stateFinalPhase)
    {
        this.stateFinalPhase = stateFinalPhase;
    }

    //get state in short period
    public String getStateShortPeriod()
    {
        return stateShortPeriod;
    }

    public void setStateShortPeriod(String stateShortPeriod)
    {
        this.stateShortPeriod = stateShortPeriod;
    }

    //get state in long period
    public String getStateLongPeriod()
    {
        return stateLongPeriod;
    }

    public void setStateLongPeriod(String stateLongPeriod)
    {
        this.stateLongPeriod = stateLongPeriod;
    }

    //get strategies in short period
    public String getStrategiesShortPeriod()
    {
        return strategiesShortPeriod;
    }

    public void setStrategiesShortPeriod(String strategiesShortPeriod)
    {
        this.strategiesShortPeriod = strategiesShortPeriod;
    }

    //get strategies in Long period
    public String getStrategiesLongPeriod()
    {
        return strategiesLongPeriod;
    }

    public void setStrategiesLongPeriod(String strategiesLongPeriod)
    {
        this.strategiesLongPeriod = strategiesLongPeriod;
    }

    //decision
    //get decision algorithms
    public String getDecisionAlgorithms()
    {
        return decisionAlgorithms;
    }

    public void setDecisionAlgorithms(String decisionAlgorithms)
    {
        this.decisionAlgorithms = decisionAlgorithms;
    }


     //import require class
     KnowledgeFilter filter = new KnowledgeFilter();
     KnowledgeAdaptive adaptive = new KnowledgeAdaptive();
     KnowledgeState state = new KnowledgeState();
     KnowledgeStrategies strategies = new KnowledgeStrategies();
     KnowledgeDecision decision = new KnowledgeDecision();

     //filter module
     private String filterTraderDistribution = filter.traderDistribution();
     private String filterSpecialistMarketshare = filter.specialistMarketshare();
     private String filterSpecialistProfit = filter.specialistProfit();
     private String filterSpecialistTSR = filter.specialistTSR();

     //adaptive module
     private String adaptiveNowRoundAtPeriod = adaptive.nowRoundAtPeriod();
     private String adaptiveNowDayAtPeriod = adaptive.nowDayAtPeriod();
     private String adaptiveStateAlgorithms = adaptive.stateAlgorithms();
     private String adaptiveStrategiesAlgorithms = adaptive.strategiesAlgorithms();
     private String adaptiveDecisionAlgorithms = adaptive.decisionAlgorithms();

     //state module
     private String stateBeginningPhase = state.beginningPhase();
     private String stateMiddlePhase = state.middlePhase();
     private String stateFinalPhase = state.finalPhase();
     private String stateShortPeriod = state.shortPeriod();
     private String stateLongPeriod = state.longPeriod();

     //strategies module
     private String strategiesShortPeriod = strategies.shortPeriod();
     private String strategiesLongPeriod = strategies.longPeriod();

     //Decision module
     private String decisionAlgorithms = decision.algorithms();

}
